package com.neusoft.service;

import java.util.Collection;
import java.util.List;

import com.neusoft.model.entity.Books;
import com.neusoft.model.entity.User;

public interface UserService {

	/**
	 * 
	 * @Description: 
	 * @param ID
	 * @param username
	 * @return boolean
	 */
    boolean	testUser(String ID,String password);

     /**
      * 
      * @Description: 
      * @param ID
      * @param pwd
      * @return List<User>
      */
    List<User> findUserByIDAndPassword(String ID,String pwd);
    
    /**
     * 
     * @Description: 
     * @param user
     * @return boolean
     */
    void insertUser(User user);

	List<Books> borrowing(String id);
    

 
}
